#ifndef CENTERFORM_H
#define CENTERFORM_H

#include <QWidget>
#include <QTableView>
#include <QStringList>
#include <QVBoxLayout>
#include <QSqlTableModel>
#include <QDataWidgetMapper>
#include <QSqlRelationalDelegate>
#include <QHeaderView>
#include <QSqlQuery>
#include <QDebug>
#include <QAbstractItemDelegate>
#include <QProgressBar>
#include <QPushButton>

class CenterForm : public QWidget
{
    Q_OBJECT
public:
    explicit CenterForm(QWidget *parent = 0);
    QSqlTableModel* tableModel;
    QTableView *table;
    void show();
    ~CenterForm();
signals:
    
public slots:
    void dataUpdate();
    void deleteRaw(int);
private:
    QDataWidgetMapper*          dataMapper;
};

#endif // CENTERFORM_H
